package com.ht.bean;

import java.util.Set;

/**
 * Dep entity. @author MyEclipse Persistence Tools
 */

public class Dep implements java.io.Serializable {

    private static final long serialVersionUID = -199868942063273880L;
    private Integer eid;
    private String ename;
    private String esex;
    private Integer did;
    private String ebirth;
    private String ecertid;
    private String ecity;
    private String eanton;
    private String edu;
    private String eaddr;
    private String etry;
    private String ecreate;
    private Integer estatus;
    private User user;


    private Set<Family> familys;

    private Department departments;

    private Jobs jobs;

    public Jobs getJobs() {
        return jobs;
    }

    public void setJobs(Jobs jobs) {
        this.jobs = jobs;
    }

    public Dep() {
    }

    public Dep(String ename, String esex, Integer did, String ebirth,
               String ecertid, String ecity, String eanton, String edu,
               String eaddr, String etry, String ecreate, Integer estatus) {
        this.ename = ename;
        this.esex = esex;
        this.did = did;
        this.ebirth = ebirth;
        this.ecertid = ecertid;
        this.ecity = ecity;
        this.eanton = eanton;
        this.edu = edu;
        this.eaddr = eaddr;
        this.etry = etry;
        this.ecreate = ecreate;
        this.estatus = estatus;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Integer getEid() {
        return this.eid;
    }

    public void setEid(Integer eid) {
        this.eid = eid;
    }

    public String getEname() {
        return this.ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getEsex() {
        return this.esex;
    }

    public void setEsex(String esex) {
        this.esex = esex;
    }

    public Integer getDid() {
        return this.did;
    }

    public void setDid(Integer did) {
        this.did = did;
    }

    public String getEbirth() {
        return this.ebirth;
    }

    public void setEbirth(String ebirth) {
        this.ebirth = ebirth;
    }

    public String getEcertid() {
        return this.ecertid;
    }

    public void setEcertid(String ecertid) {
        this.ecertid = ecertid;
    }

    public String getEcity() {
        return this.ecity;
    }

    public void setEcity(String ecity) {
        this.ecity = ecity;
    }

    public String getEanton() {
        return this.eanton;
    }

    public void setEanton(String eanton) {
        this.eanton = eanton;
    }

    public String getEdu() {
        return this.edu;
    }

    public void setEdu(String edu) {
        this.edu = edu;
    }

    public String getEaddr() {
        return this.eaddr;
    }

    public void setEaddr(String eaddr) {
        this.eaddr = eaddr;
    }

    public String getEtry() {
        return this.etry;
    }

    public void setEtry(String etry) {
        this.etry = etry;
    }

    public String getEcreate() {
        return this.ecreate;
    }

    public void setEcreate(String ecreate) {
        this.ecreate = ecreate;
    }

    public Integer getEstatus() {
        return this.estatus;
    }

    public void setEstatus(Integer estatus) {
        this.estatus = estatus;
    }

    public Set<Family> getFamilys() {
        return familys;
    }

    public void setFamilys(Set<Family> familys) {
        this.familys = familys;
    }

    public Department getDepartments() {
        return departments;
    }

    public void setDepartments(Department departments) {
        this.departments = departments;
    }

    @Override
    public String toString() {
        return "Dep [eid=" + eid + ", ename=" + ename + ", esex=" + esex + ", did=" + did + ", ebirth=" + ebirth
                + ", ecertid=" + ecertid + ", ecity=" + ecity + ", eanton=" + eanton + ", edu=" + edu + ", eaddr="
                + eaddr + ", etry=" + etry + ", ecreate=" + ecreate + ", estatus=" + estatus + ", jobs=" + jobs + "]";
    }
}